const platformFirmRoutes = {
  path: 'platform_firm',
  name: 'PlatformFirm',
  component: () => import('@/views/user/index.vue'),
  meta: { title: '平台企业主管理' },
  redirect: '/user/platform_Firm/firm-list',
  children: [
    {
      path: 'firm-list',
      name: 'FirmList',
      hidden: true,
      component: () => import('@/views/user/platformFirm/list/list.vue'),
      meta: { title: '平台企业主管理', noCache: true }
    },
    {
      path: 'firm-deatil',
      name: 'FirmDetail',
      hidden: true,
      component: () => import('@/views/user/platformFirm/detail/detail.vue'),
      meta: { title: '平台企业主资料', noCache: true }
    },
    {
      path: 'firm-edit',
      name: 'FirmEdit',
      hidden: true,
      component: () => import('@/views/user/platformFirm/form/form.vue'),
      meta: { title: '编辑企业主', noCache: true }
    },
    {
      path: 'firm-add',
      name: 'FirmAdd',
      hidden: true,
      component: () => import('@/views/user/platformFirm/form/form.vue'),
      meta: { title: '新增企业主', noCache: true }
    }
  ]
}

export default platformFirmRoutes
